},System.String)} },--0,System.String)}
TrackingConfiguration.Property(Expression>, string?) method¶
Defined in
Type: TrackingConfigurationCrissCross.WPF.UI.Configuration
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Overloads¶
- 1.
public TrackingConfiguration<T> Property<TResult>(Expression<Func<T, TResult?>> propertyAccessExpression, string? name = null) - 2.
public TrackingConfiguration<T> Property<TProperty>(Expression<Func<T, TProperty?>> propertyAccessExpression, TProperty defaultValue, string? name = null)
1. Overload¶
public TrackingConfiguration<T> Property<TResult>(Expression<Func<T, TResult?>> propertyAccessExpression, string? name = null)
Summary: Set up tracking for the specified property.
Type parameters
| Name | Description |
|---|---|
TResult | The type. |
Parameters
| Name | Type | Description |
|---|---|---|
propertyAccessExpression | Expression | The property access expression. |
name = null | string? | The name. |
Returns: TrackingConfiguration
2. Overload¶
public TrackingConfiguration<T> Property<TProperty>(Expression<Func<T, TProperty?>> propertyAccessExpression, TProperty defaultValue, string? name = null)
Summary: Set up tracking for the specified property.
Type parameters
| Name | Description |
|---|---|
TProperty | The type of the property. |
Parameters
| Name | Type | Description |
|---|---|---|
propertyAccessExpression | Expression | The expression that points to the specified property. Can navigate multiple levels. |
defaultValue | TProperty | If there is no value in the store for the property, the defaultValue will be used. |
name = null | string? | The name of the property in the store. |
Returns: TrackingConfiguration